package com.secondmybatis.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

// 封装分页结果

public class PageBean {
    private Long Total;
    private List rows;

    public Long getTotal() {
        return Total;
    }

    public void setTotal(Long total) {
        Total = total;
    }

    public List getRows() {
        return rows;
    }

    public void setRows(List rows) {
        this.rows = rows;
    }

    public PageBean(Long total, List rows) {
        Total = total;
        this.rows = rows;
    }

    public PageBean() {
    }
}
